package com.hellojava.entity;


import com.hellojava.bean.UUIDEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 系统用户
 * @author dengjihai
 * @create 2017-11-16
 **/
@Entity
@Table(name = "sys_user")
public class SysUser extends UUIDEntity {

    @Column(name = "login_name")
    private String loginName;

    @Column(name = "login_pass")
    private String loginPass;

    public SysUser(String loginName, String loginPass) {
        super();
        this.loginName = loginName;
        this.loginPass = loginPass;
    }

    public SysUser() {
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginPass() {
        return loginPass;
    }

    public void setLoginPass(String loginPass) {
        this.loginPass = loginPass;
    }
}
